package cn.uniquesoft.service.impl;

import cn.uniquesoft.mapper.MyLikeMapper;
import cn.uniquesoft.service.IMyLikeService;
import cn.uniquesoft.service.base.BaseServiceImpl;
import cn.uniquesoft.vo.MyLikeVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MyLikeServiceImpl extends BaseServiceImpl<MyLikeVO> implements IMyLikeService{
	private MyLikeMapper myLikeMapper;
	public MyLikeServiceImpl(MyLikeMapper myLikeMapper) {
		super();
		this.baseMapper=myLikeMapper;
		this.myLikeMapper = myLikeMapper;
	}

	@Override
	public List<MyLikeVO> findListDown(MyLikeVO item) {
		return this.myLikeMapper.findListDown(item);
	}

	@Override
	public List<MyLikeVO> findListUp(MyLikeVO item) {
		return this.myLikeMapper.findListUp(item);
	}

	@Override
	public List<MyLikeVO> getItemsFirst(MyLikeVO item) {
		return this.myLikeMapper.getItemsFirst(item);
	}
}
